// Development environment
export const isProd = process.env.NODE_ENV === 'production'
// export const isProd = false
// Browser environment sniffing
export const inBrowser = typeof window !== 'undefined'
export const UA = inBrowser && window.navigator.userAgent
export const isAndroid = UA && UA.toLowerCase().indexOf('android') > 0
export const isIOS = UA && /iphone|ipad|ipod|ios/.test(UA.toLowerCase())
export const isWX = UA && /micromessenger/.test(UA.toLowerCase())
export const isPCWX = UA && (/windowswechat/.test(UA.toLowerCase()) || /macwechat/.test(UA.toLowerCase()))
export const isMIN = UA && /miniprogram/.test(UA.toLowerCase())
export const telPhone = '4008919061' // 客服电话
